<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SkyGameEngine2d: C:/code/SkyGameEngine2d/src/base/Color.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="shpe.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SkyGameEngine2d
   &#160;<span id="projectnumber">1.0.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_0af1587c8378955de40f48b4bd1869f0.html">base</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Color.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">    Copyright (C) 2019 Zongming Liu &lt;1849059316@qq.com&gt;</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">    This program is free software; you can redistribute it and/or modify</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">    it under the terms of the GNU General Public License as published by</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">    the Free Software Foundation; either version 2 of the License, or</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">    (at your option) any later version.</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">    This program is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">    GNU General Public License for more details.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">    You should have received a copy of the GNU General Public License along</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">    with this program; if not, write to the Free Software Foundation, Inc.,</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#ifndef Color_h__</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#define Color_h__</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;DirectXMath.h&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &quot;Vector.h&quot;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;d2d1.h&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">namespace </span>SkyEngine2d</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;{</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    <span class="keyword">class </span>Color4f;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <span class="keyword">class </span>Color4;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color3.html">   31</a></span>&#160;    <span class="keyword">class </span>SGE_API <a class="code" href="class_sky_engine2d_1_1_color3.html">Color3</a></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    {</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        <a class="code" href="class_sky_engine2d_1_1_color3.html">Color3</a>();</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_sky_engine2d_1_1_color3.html">Color3</a>(uint8_t r, uint8_t g, uint8_t b);</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_sky_engine2d_1_1_color3.html">Color3</a>(<span class="keyword">const</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a>&amp; color);</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_sky_engine2d_1_1_color3.html">Color3</a>(<span class="keyword">const</span> <a class="code" href="class_sky_engine2d_1_1_color4.html">Color4</a>&amp; color);</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color3.html#a0c3bdc59d8b7a2eec022dcb112d356ef">   64</a></span>&#160;        uint8_t <a class="code" href="class_sky_engine2d_1_1_color3.html#a0c3bdc59d8b7a2eec022dcb112d356ef">getR</a>()<span class="keyword">const </span>{ <span class="keywordflow">return</span> m_r; }</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color3.html#a78339ecbd23536e0821f01992a3d50a1">   70</a></span>&#160;        uint8_t <a class="code" href="class_sky_engine2d_1_1_color3.html#a78339ecbd23536e0821f01992a3d50a1">getG</a>()<span class="keyword">const </span>{ <span class="keywordflow">return</span> m_g; }</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color3.html#a1ffadcc09df00a7dae7d93365b0e290a">   76</a></span>&#160;        uint8_t <a class="code" href="class_sky_engine2d_1_1_color3.html#a1ffadcc09df00a7dae7d93365b0e290a">getB</a>()<span class="keyword">const </span>{ <span class="keywordflow">return</span> m_b; }</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        <span class="keywordtype">void</span> set(uint8_t r, uint8_t g, uint8_t b);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color3.html#a055a29c9f1960d96a5c9f80f05f9aec9">   91</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_sky_engine2d_1_1_color3.html#a055a29c9f1960d96a5c9f80f05f9aec9">setR</a>(uint8_t r) { m_r = r; }</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color3.html#aa6b791046cf9a652f3cac72ce70f829b">   98</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_sky_engine2d_1_1_color3.html#aa6b791046cf9a652f3cac72ce70f829b">setG</a>(uint8_t g) { m_g = g; }</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color3.html#a740951aace08370588406902cd68d0a8">  105</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_sky_engine2d_1_1_color3.html#a740951aace08370588406902cd68d0a8">setB</a>(uint8_t b) { m_b = b; }</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        <span class="keywordtype">bool</span> operator==(<span class="keyword">const</span> <a class="code" href="class_sky_engine2d_1_1_color3.html">Color3</a>&amp; color);</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;        <span class="keywordtype">bool</span> operator!=(<span class="keyword">const</span> <a class="code" href="class_sky_engine2d_1_1_color3.html">Color3</a>&amp; color);</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    <span class="keyword">private</span>:</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        uint8_t m_r, m_g, m_b;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    };</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color4.html">  118</a></span>&#160;    <span class="keyword">class </span>SGE_API <a class="code" href="class_sky_engine2d_1_1_color4.html">Color4</a></div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    {</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;        <a class="code" href="class_sky_engine2d_1_1_color4.html">Color4</a>();</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_sky_engine2d_1_1_color4.html">Color4</a>(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255);</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_sky_engine2d_1_1_color4.html">Color4</a>(<span class="keyword">const</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a>&amp; color);</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_sky_engine2d_1_1_color4.html">Color4</a>(<span class="keyword">const</span> <a class="code" href="class_sky_engine2d_1_1_color3.html">Color3</a>&amp; color, uint8_t a = 255);</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color4.html#ac5e7f2d4c53a03fdff77c0b69be4e684">  151</a></span>&#160;        uint8_t <a class="code" href="class_sky_engine2d_1_1_color4.html#ac5e7f2d4c53a03fdff77c0b69be4e684">getR</a>()<span class="keyword">const </span>{ <span class="keywordflow">return</span> m_r; }</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color4.html#aa4dc3e01fe3d28617ac91d85619441a6">  157</a></span>&#160;        uint8_t <a class="code" href="class_sky_engine2d_1_1_color4.html#aa4dc3e01fe3d28617ac91d85619441a6">getG</a>()<span class="keyword">const </span>{ <span class="keywordflow">return</span> m_g; }</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color4.html#a2af3d96c4cc95416d0a07b686dbc1d8e">  163</a></span>&#160;        uint8_t <a class="code" href="class_sky_engine2d_1_1_color4.html#a2af3d96c4cc95416d0a07b686dbc1d8e">getB</a>()<span class="keyword">const </span>{ <span class="keywordflow">return</span> m_b; }</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color4.html#aeab44737b8684e6f2846811648140c90">  169</a></span>&#160;        uint8_t <a class="code" href="class_sky_engine2d_1_1_color4.html#aeab44737b8684e6f2846811648140c90">getA</a>()<span class="keyword">const </span>{ <span class="keywordflow">return</span> m_a; }</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        <span class="keywordtype">void</span> set(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255);</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color4.html#a63c8c3aa589c506665377ac33c56360c">  186</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_sky_engine2d_1_1_color4.html#a63c8c3aa589c506665377ac33c56360c">setR</a>(uint8_t r) { m_r = r; }</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div><div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color4.html#a0113af6dea8e84252762d17f4d040335">  193</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_sky_engine2d_1_1_color4.html#a0113af6dea8e84252762d17f4d040335">setG</a>(uint8_t g) { m_g = g; }</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div><div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color4.html#a3ffabd6cf1763c9f27e3dec818809976">  200</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_sky_engine2d_1_1_color4.html#a3ffabd6cf1763c9f27e3dec818809976">setB</a>(uint8_t b) { m_b = b; }</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color4.html#a6cdd51bce47a0e1a273157253244c745">  207</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_sky_engine2d_1_1_color4.html#a6cdd51bce47a0e1a273157253244c745">setA</a>(uint8_t a) { m_a = a; }</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        <span class="keywordtype">bool</span> operator==(<span class="keyword">const</span> <a class="code" href="class_sky_engine2d_1_1_color4.html">Color4</a>&amp; color);</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;        <span class="keywordtype">bool</span> operator!=(<span class="keyword">const</span> <a class="code" href="class_sky_engine2d_1_1_color4.html">Color4</a>&amp; color);</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    <span class="keyword">private</span>:</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        uint8_t m_r, m_g, m_b, m_a;</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    };</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;</div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color4f.html">  223</a></span>&#160;    <span class="keyword">class </span>SGE_API <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a></div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;        :<span class="keyword">public</span> DirectX::XMFLOAT4</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;    {</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a>();</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a>(<span class="keywordtype">float</span> r, <span class="keywordtype">float</span> g, <span class="keywordtype">float</span> b, <span class="keywordtype">float</span> a = 1.0f);</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a>(<span class="keyword">const</span> <a class="code" href="class_sky_engine2d_1_1_vector4.html">Vector4</a>&amp; v);</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a>(<span class="keyword">const</span> <a class="code" href="class_sky_engine2d_1_1_vector3.html">Vector3</a>&amp; v, <span class="keywordtype">float</span> a = 1.0f);</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a>(<span class="keyword">const</span> <a class="code" href="class_sky_engine2d_1_1_color3.html">Color3</a>&amp; color, <span class="keywordtype">float</span> a = 1.0f);</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a>(<span class="keyword">const</span> <a class="code" href="class_sky_engine2d_1_1_color4.html">Color4</a>&amp; color);</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;</div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;</div><div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color4f.html#a4519a1a4f6840e812c5805eb91c2db4f">  269</a></span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html#a4519a1a4f6840e812c5805eb91c2db4f">Color4f</a>(DirectX::XMVECTOR  v) { XMStoreFloat4(<span class="keyword">this</span>, v); }</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;</div><div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color4f.html#a5058edb1c7b2c73a5aa0bd8a2f63f462">  272</a></span>&#160;        <span class="keyword">operator</span> D2D1_COLOR_F()<span class="keyword">const </span>{ D2D1_COLOR_F c; c.a = w; c.b = z; c.g = y; c.r = x; <span class="keywordflow">return</span> c; }</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;</div><div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color4f.html#ab2facf09694faa99ea03361ee3d3b77a">  275</a></span>&#160;        <span class="keyword">operator</span> DirectX::XMVECTOR()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> XMLoadFloat4(<span class="keyword">this</span>); }</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;</div><div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color4f.html#a51900a6ae0fd8cb657c82518ffa6075c">  278</a></span>&#160;        <span class="keyword">operator</span> <a class="code" href="class_sky_engine2d_1_1_color3.html">Color3</a>()<span class="keyword">const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_sky_engine2d_1_1_color3.html">Color3</a>((uint8_t)(x * 255), (uint8_t)(y * 255), (uint8_t)(z * 255)); }</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;</div><div class="line"><a name="l00281"></a><span class="lineno"><a class="line" href="class_sky_engine2d_1_1_color4f.html#ab18640618a1292eafb385e0d9e2375c7">  281</a></span>&#160;        <span class="keyword">operator</span> <a class="code" href="class_sky_engine2d_1_1_color4.html">Color4</a>()<span class="keyword">const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_sky_engine2d_1_1_color4.html">Color4</a>((uint8_t)(x * 255), (uint8_t)(y * 255), (uint8_t)(z * 255), (uint8_t)(w * 255)); }</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;    </div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;        <span class="keywordtype">bool</span> operator==(<span class="keyword">const</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a>&amp; color)<span class="keyword">const</span>;</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;        <span class="keywordtype">bool</span> operator!=(<span class="keyword">const</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a>&amp; color)<span class="keyword">const</span>;</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> AliceBlue;</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> AntiqueWhite;</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Aqua;</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Aquamarine;</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Azure;</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Beige;</div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Bisque;</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Black;</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> BlanchedAlmond;</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Blue;</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> BlueViolet;</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Brown;</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> BurlyWood;</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> CadetBlue;</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Chartreuse;</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Chocolate;</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Coral;</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> CornflowerBlue;</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Cornsilk;</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Crimson;</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Cyan;</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkBlue;</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkCyan;</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkGoldenrod;</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkGray;</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkGreen;</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkKhaki;</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkMagenta;</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkOliveGreen;</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkOrange;</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkOrchid;</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkRed;</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkSalmon;</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkSeaGreen;</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkSlateBlue;</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkSlateGray;</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkTurquoise;</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DarkViolet;</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DeepPink;</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DeepSkyBlue;</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DimGray;</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> DodgerBlue;</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Firebrick;</div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> FloralWhite;</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> ForestGreen;</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Fuchsia;</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Gainsboro;</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> GhostWhite;</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Gold;</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Goldenrod;</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Gray;</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Green;</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> GreenYellow;</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Honeydew;</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> HotPink;</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> IndianRed;</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Indigo;</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Ivory;</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Khaki;</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Lavender;</div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LavenderBlush;</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LawnGreen;</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LemonChiffon;</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LightBlue;</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LightCoral;</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LightCyan;</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LightGoldenrodYellow;</div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LightGreen;</div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LightGray;</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LightPink;</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LightSalmon;</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LightSeaGreen;</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LightSkyBlue;</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LightSlateGray;</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LightSteelBlue;</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LightYellow;</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Lime;</div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> LimeGreen;</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Linen;</div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Magenta;</div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Maroon;</div><div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> MediumAquamarine;</div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> MediumBlue;</div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> MediumOrchid;</div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> MediumPurple;</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> MediumSeaGreen;</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> MediumSlateBlue;</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> MediumSpringGreen;</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> MediumTurquoise;</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> MediumVioletRed;</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> MidnightBlue;</div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> MintCream;</div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> MistyRose;</div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Moccasin;</div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> NavajoWhite;</div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Navy;</div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> OldLace;</div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Olive;</div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> OliveDrab;</div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Orange;</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> OrangeRed;</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Orchid;</div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> PaleGoldenrod;</div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> PaleGreen;</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> PaleTurquoise;</div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> PaleVioletRed;</div><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> PapayaWhip;</div><div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> PeachPuff;</div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Peru;</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Pink;</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Plum;</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> PowderBlue;</div><div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Purple;</div><div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Red;</div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> RosyBrown;</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> RoyalBlue;</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> SaddleBrown;</div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Salmon;</div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> SandyBrown;</div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> SeaGreen;</div><div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> SeaShell;</div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Sienna;</div><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Silver;</div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> SkyBlue;</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> SlateBlue;</div><div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> SlateGray;</div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Snow;</div><div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> SpringGreen;</div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> SteelBlue;</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Tan;</div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Teal;</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Thistle;</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Tomato;</div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Transparent;</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Turquoise;</div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Violet;</div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Wheat;</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> White;</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> WhiteSmoke;</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> Yellow;</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;        <span class="keyword">static</span> <a class="code" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> YellowGreen;</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;    };</div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;}</div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;</div><div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;<span class="preprocessor">#endif // Color_h__</span></div><div class="ttc" id="class_sky_engine2d_1_1_color4f_html_a4519a1a4f6840e812c5805eb91c2db4f"><div class="ttname"><a href="class_sky_engine2d_1_1_color4f.html#a4519a1a4f6840e812c5805eb91c2db4f">SkyEngine2d::Color4f::Color4f</a></div><div class="ttdeci">Color4f(DirectX::XMVECTOR v)</div><div class="ttdoc">构造</div><div class="ttdef"><b>Definition:</b> Color.h:269</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color3_html_a1ffadcc09df00a7dae7d93365b0e290a"><div class="ttname"><a href="class_sky_engine2d_1_1_color3.html#a1ffadcc09df00a7dae7d93365b0e290a">SkyEngine2d::Color3::getB</a></div><div class="ttdeci">uint8_t getB() const</div><div class="ttdoc">获取b</div><div class="ttdef"><b>Definition:</b> Color.h:76</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_vector4_html"><div class="ttname"><a href="class_sky_engine2d_1_1_vector4.html">SkyEngine2d::Vector4</a></div><div class="ttdoc">4D向量</div><div class="ttdef"><b>Definition:</b> Vector.h:152</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color4_html_a2af3d96c4cc95416d0a07b686dbc1d8e"><div class="ttname"><a href="class_sky_engine2d_1_1_color4.html#a2af3d96c4cc95416d0a07b686dbc1d8e">SkyEngine2d::Color4::getB</a></div><div class="ttdeci">uint8_t getB() const</div><div class="ttdoc">获取b</div><div class="ttdef"><b>Definition:</b> Color.h:163</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color3_html_a0c3bdc59d8b7a2eec022dcb112d356ef"><div class="ttname"><a href="class_sky_engine2d_1_1_color3.html#a0c3bdc59d8b7a2eec022dcb112d356ef">SkyEngine2d::Color3::getR</a></div><div class="ttdeci">uint8_t getR() const</div><div class="ttdoc">获取r</div><div class="ttdef"><b>Definition:</b> Color.h:64</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color3_html"><div class="ttname"><a href="class_sky_engine2d_1_1_color3.html">SkyEngine2d::Color3</a></div><div class="ttdoc">(r,g,b) 三原色表示的颜色，三原色分别用一个字节表示 取值为 [0,255]</div><div class="ttdef"><b>Definition:</b> Color.h:31</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_vector3_html"><div class="ttname"><a href="class_sky_engine2d_1_1_vector3.html">SkyEngine2d::Vector3</a></div><div class="ttdoc">3D向量</div><div class="ttdef"><b>Definition:</b> Vector.h:114</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color4_html_a6cdd51bce47a0e1a273157253244c745"><div class="ttname"><a href="class_sky_engine2d_1_1_color4.html#a6cdd51bce47a0e1a273157253244c745">SkyEngine2d::Color4::setA</a></div><div class="ttdeci">void setA(uint8_t a)</div><div class="ttdoc">设置a</div><div class="ttdef"><b>Definition:</b> Color.h:207</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color4_html_aeab44737b8684e6f2846811648140c90"><div class="ttname"><a href="class_sky_engine2d_1_1_color4.html#aeab44737b8684e6f2846811648140c90">SkyEngine2d::Color4::getA</a></div><div class="ttdeci">uint8_t getA() const</div><div class="ttdoc">获取a</div><div class="ttdef"><b>Definition:</b> Color.h:169</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color4f_html"><div class="ttname"><a href="class_sky_engine2d_1_1_color4f.html">SkyEngine2d::Color4f</a></div><div class="ttdoc">颜色 r,g,b,a 取值为 [0,1]</div><div class="ttdef"><b>Definition:</b> Color.h:223</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color3_html_a740951aace08370588406902cd68d0a8"><div class="ttname"><a href="class_sky_engine2d_1_1_color3.html#a740951aace08370588406902cd68d0a8">SkyEngine2d::Color3::setB</a></div><div class="ttdeci">void setB(uint8_t b)</div><div class="ttdoc">设置b</div><div class="ttdef"><b>Definition:</b> Color.h:105</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color4_html_ac5e7f2d4c53a03fdff77c0b69be4e684"><div class="ttname"><a href="class_sky_engine2d_1_1_color4.html#ac5e7f2d4c53a03fdff77c0b69be4e684">SkyEngine2d::Color4::getR</a></div><div class="ttdeci">uint8_t getR() const</div><div class="ttdoc">获取r</div><div class="ttdef"><b>Definition:</b> Color.h:151</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color4_html_a3ffabd6cf1763c9f27e3dec818809976"><div class="ttname"><a href="class_sky_engine2d_1_1_color4.html#a3ffabd6cf1763c9f27e3dec818809976">SkyEngine2d::Color4::setB</a></div><div class="ttdeci">void setB(uint8_t b)</div><div class="ttdoc">设置b</div><div class="ttdef"><b>Definition:</b> Color.h:200</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color4_html_a0113af6dea8e84252762d17f4d040335"><div class="ttname"><a href="class_sky_engine2d_1_1_color4.html#a0113af6dea8e84252762d17f4d040335">SkyEngine2d::Color4::setG</a></div><div class="ttdeci">void setG(uint8_t g)</div><div class="ttdoc">设置g</div><div class="ttdef"><b>Definition:</b> Color.h:193</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color3_html_a055a29c9f1960d96a5c9f80f05f9aec9"><div class="ttname"><a href="class_sky_engine2d_1_1_color3.html#a055a29c9f1960d96a5c9f80f05f9aec9">SkyEngine2d::Color3::setR</a></div><div class="ttdeci">void setR(uint8_t r)</div><div class="ttdoc">设置r</div><div class="ttdef"><b>Definition:</b> Color.h:91</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color4_html_aa4dc3e01fe3d28617ac91d85619441a6"><div class="ttname"><a href="class_sky_engine2d_1_1_color4.html#aa4dc3e01fe3d28617ac91d85619441a6">SkyEngine2d::Color4::getG</a></div><div class="ttdeci">uint8_t getG() const</div><div class="ttdoc">获取g</div><div class="ttdef"><b>Definition:</b> Color.h:157</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color4_html_a63c8c3aa589c506665377ac33c56360c"><div class="ttname"><a href="class_sky_engine2d_1_1_color4.html#a63c8c3aa589c506665377ac33c56360c">SkyEngine2d::Color4::setR</a></div><div class="ttdeci">void setR(uint8_t r)</div><div class="ttdoc">设置r</div><div class="ttdef"><b>Definition:</b> Color.h:186</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color3_html_aa6b791046cf9a652f3cac72ce70f829b"><div class="ttname"><a href="class_sky_engine2d_1_1_color3.html#aa6b791046cf9a652f3cac72ce70f829b">SkyEngine2d::Color3::setG</a></div><div class="ttdeci">void setG(uint8_t g)</div><div class="ttdoc">设置g</div><div class="ttdef"><b>Definition:</b> Color.h:98</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color3_html_a78339ecbd23536e0821f01992a3d50a1"><div class="ttname"><a href="class_sky_engine2d_1_1_color3.html#a78339ecbd23536e0821f01992a3d50a1">SkyEngine2d::Color3::getG</a></div><div class="ttdeci">uint8_t getG() const</div><div class="ttdoc">获取g</div><div class="ttdef"><b>Definition:</b> Color.h:70</div></div>
<div class="ttc" id="class_sky_engine2d_1_1_color4_html"><div class="ttname"><a href="class_sky_engine2d_1_1_color4.html">SkyEngine2d::Color4</a></div><div class="ttdoc">(r,g,b,a) 表示的颜色，每个分量用一个字节表示 取值为 [0,255]</div><div class="ttdef"><b>Definition:</b> Color.h:118</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
